Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust cleanup error #9

Merged
merged 14 commits into from
Feb 29, 2024
Merged

Rust cleanup error #9

merged 14 commits into from
Feb 29, 2024

Conversation

ming1
Copy link
Collaborator

@ming1 ming1 commented Feb 29, 2024

  • cleanup UblkError
  • Convert dev_flags into Rust UblkFlags(bitflags)
  • simplify retry for ioctl encode command
  • re-organize examples/null.rs & examples/loop.rs

UblkCtrl::new_simple() is only used for deleting, listing and recovering
device, and none of them need to pass device flags yet, so remove it.

In the future, if there is such use case, we can add one
new_simple_with_flag().

Signed-off-by: Ming Lei <[email protected]>
@ming1 ming1 merged commit 31b3253 into main Feb 29, 2024
8 checks passed
@ming1 ming1 deleted the rust-cleanup-error branch March 1, 2024 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant